package shiro.com.domain.file;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import shiro.com.basie.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 file_up
 *
 * @author ruoyi
 * @date 2022-12-12
 */
public class FileUp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long fileUpId;

    /** 上传id */
    private Long fileUpUid;

    /** 文件名 */
    private String fileUpName;

    /** $column.columnComment */
    private String fileUpSrc;

    /** 状态 */
    private Long fileUpState;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String fileUpTime;

    /** 备注 */
    private String fileUpMsg;

    public void setFileUpId(Long fileUpId)
    {
        this.fileUpId = fileUpId;
    }

    public Long getFileUpId()
    {
        return fileUpId;
    }
    public void setFileUpUid(Long fileUpUid)
    {
        this.fileUpUid = fileUpUid;
    }

    public Long getFileUpUid()
    {
        return fileUpUid;
    }
    public void setFileUpName(String fileUpName)
    {
        this.fileUpName = fileUpName;
    }

    public String getFileUpName()
    {
        return fileUpName;
    }
    public void setFileUpSrc(String fileUpSrc)
    {
        this.fileUpSrc = fileUpSrc;
    }

    public String getFileUpSrc()
    {
        return fileUpSrc;
    }
    public void setFileUpState(Long fileUpState)
    {
        this.fileUpState = fileUpState;
    }

    public Long getFileUpState()
    {
        return fileUpState;
    }
    public void setFileUpTime(String fileUpTime)
    {
        this.fileUpTime = fileUpTime;
    }

    public String getFileUpTime()
    {
        return fileUpTime;
    }
    public void setFileUpMsg(String fileUpMsg)
    {
        this.fileUpMsg = fileUpMsg;
    }

    public String getFileUpMsg()
    {
        return fileUpMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileUpId", getFileUpId())
            .append("fileUpUid", getFileUpUid())
            .append("fileUpName", getFileUpName())
            .append("fileUpSrc", getFileUpSrc())
            .append("fileUpState", getFileUpState())
            .append("fileUpTime", getFileUpTime())
            .append("fileUpMsg", getFileUpMsg())
            .toString();
    }
}
